package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MoCard;

import java.util.*;
public class MoCardExample extends SgExample<MoCardExample.Criteria> {
    public static final Class<MoCard> beanClass = MoCard.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn lastUse;
    public static EntityColumn cvv;
    public static EntityColumn bankUser;
    public static EntityColumn cardId;
    public static EntityColumn bankNo;
    public static EntityColumn expireDate;
    public static EntityColumn bankName;
    public static EntityColumn telephone;
    public static EntityColumn userId;
    public static EntityColumn bankLocation;
    public static EntityColumn bankIcon;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        lastUse = listMap.get("lastUse");
        cvv = listMap.get("cvv");
        bankUser = listMap.get("bankUser");
        cardId = listMap.get("cardId");
        bankNo = listMap.get("bankNo");
        expireDate = listMap.get("expireDate");
        bankName = listMap.get("bankName");
        telephone = listMap.get("telephone");
        userId = listMap.get("userId");
        bankLocation = listMap.get("bankLocation");
        bankIcon = listMap.get("bankIcon");
        }

    public MoCardExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MoCardExample.Criteria createCriteriaInternal() {
        return new MoCardExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MoCardExample.Criteria andLastUseIsNull() {
            return isNull(lastUse);
        }

        public MoCardExample.Criteria andLastUseIsNotNull() {
            return isNotNull(lastUse);
        }

        public MoCardExample.Criteria andLastUseEqualTo(Boolean value) {
            return equalTo(lastUse, value);
        }

        public MoCardExample.Criteria andLastUseNotEqualTo(Boolean value) {
            return notEqualTo(lastUse, value);
        }

        public MoCardExample.Criteria andLastUseGreaterThan(Boolean value) {
            return greaterThan(lastUse, value);
        }

        public MoCardExample.Criteria andLastUseGreaterThanOrEqualTo(Boolean value) {
            return greaterThanOrEqualTo(lastUse, value);
        }

        public MoCardExample.Criteria andLastUseLessThan(Boolean value) {
            return lessThan(lastUse, value);
        }

        public MoCardExample.Criteria andLastUseLessThanOrEqualTo(Boolean value) {
            return lessThanOrEqualTo(lastUse, value);
        }

        public MoCardExample.Criteria andLastUseIn(List<Boolean> values) {
            return in(lastUse, values);
        }

        public MoCardExample.Criteria andLastUseNotIn(List<Boolean> values) {
            return notIn(lastUse, values);
        }

        public MoCardExample.Criteria andLastUseBetween(Boolean value1, Boolean value2) {
            return between(lastUse, value1, value2);
        }

        public MoCardExample.Criteria andLastUseNotBetween(Boolean value1, Boolean value2) {
            return notBetween(lastUse, value1, value2);
        }
        public MoCardExample.Criteria andCvvIsNull() {
            return isNull(cvv);
        }

        public MoCardExample.Criteria andCvvIsNotNull() {
            return isNotNull(cvv);
        }

        public MoCardExample.Criteria andCvvEqualTo(String value) {
            return equalTo(cvv, value);
        }

        public MoCardExample.Criteria andCvvNotEqualTo(String value) {
            return notEqualTo(cvv, value);
        }

        public MoCardExample.Criteria andCvvGreaterThan(String value) {
            return greaterThan(cvv, value);
        }

        public MoCardExample.Criteria andCvvGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(cvv, value);
        }

        public MoCardExample.Criteria andCvvLessThan(String value) {
            return lessThan(cvv, value);
        }

        public MoCardExample.Criteria andCvvLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(cvv, value);
        }

        public MoCardExample.Criteria andCvvLike(String value) {
            return like(cvv, value);
        }

        public MoCardExample.Criteria andCvvNotLike(String value) {
            return notLike(cvv, value);
        }

        public MoCardExample.Criteria andCvvIn(List<String> values) {
            return in(cvv, values);
        }

        public MoCardExample.Criteria andCvvNotIn(List<String> values) {
            return notIn(cvv, values);
        }

        public MoCardExample.Criteria andCvvBetween(String value1, String value2) {
            return between(cvv, value1, value2);
        }

        public MoCardExample.Criteria andCvvNotBetween(String value1, String value2) {
            return notBetween(cvv, value1, value2);
        }
        public MoCardExample.Criteria andBankUserIsNull() {
            return isNull(bankUser);
        }

        public MoCardExample.Criteria andBankUserIsNotNull() {
            return isNotNull(bankUser);
        }

        public MoCardExample.Criteria andBankUserEqualTo(String value) {
            return equalTo(bankUser, value);
        }

        public MoCardExample.Criteria andBankUserNotEqualTo(String value) {
            return notEqualTo(bankUser, value);
        }

        public MoCardExample.Criteria andBankUserGreaterThan(String value) {
            return greaterThan(bankUser, value);
        }

        public MoCardExample.Criteria andBankUserGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankUser, value);
        }

        public MoCardExample.Criteria andBankUserLessThan(String value) {
            return lessThan(bankUser, value);
        }

        public MoCardExample.Criteria andBankUserLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankUser, value);
        }

        public MoCardExample.Criteria andBankUserLike(String value) {
            return like(bankUser, value);
        }

        public MoCardExample.Criteria andBankUserNotLike(String value) {
            return notLike(bankUser, value);
        }

        public MoCardExample.Criteria andBankUserIn(List<String> values) {
            return in(bankUser, values);
        }

        public MoCardExample.Criteria andBankUserNotIn(List<String> values) {
            return notIn(bankUser, values);
        }

        public MoCardExample.Criteria andBankUserBetween(String value1, String value2) {
            return between(bankUser, value1, value2);
        }

        public MoCardExample.Criteria andBankUserNotBetween(String value1, String value2) {
            return notBetween(bankUser, value1, value2);
        }
        public MoCardExample.Criteria andCardIdIsNull() {
            return isNull(cardId);
        }

        public MoCardExample.Criteria andCardIdIsNotNull() {
            return isNotNull(cardId);
        }

        public MoCardExample.Criteria andCardIdEqualTo(Long value) {
            return equalTo(cardId, value);
        }

        public MoCardExample.Criteria andCardIdNotEqualTo(Long value) {
            return notEqualTo(cardId, value);
        }

        public MoCardExample.Criteria andCardIdGreaterThan(Long value) {
            return greaterThan(cardId, value);
        }

        public MoCardExample.Criteria andCardIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(cardId, value);
        }

        public MoCardExample.Criteria andCardIdLessThan(Long value) {
            return lessThan(cardId, value);
        }

        public MoCardExample.Criteria andCardIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(cardId, value);
        }

        public MoCardExample.Criteria andCardIdIn(List<Long> values) {
            return in(cardId, values);
        }

        public MoCardExample.Criteria andCardIdNotIn(List<Long> values) {
            return notIn(cardId, values);
        }

        public MoCardExample.Criteria andCardIdBetween(Long value1, Long value2) {
            return between(cardId, value1, value2);
        }

        public MoCardExample.Criteria andCardIdNotBetween(Long value1, Long value2) {
            return notBetween(cardId, value1, value2);
        }
        public MoCardExample.Criteria andBankNoIsNull() {
            return isNull(bankNo);
        }

        public MoCardExample.Criteria andBankNoIsNotNull() {
            return isNotNull(bankNo);
        }

        public MoCardExample.Criteria andBankNoEqualTo(String value) {
            return equalTo(bankNo, value);
        }

        public MoCardExample.Criteria andBankNoNotEqualTo(String value) {
            return notEqualTo(bankNo, value);
        }

        public MoCardExample.Criteria andBankNoGreaterThan(String value) {
            return greaterThan(bankNo, value);
        }

        public MoCardExample.Criteria andBankNoGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankNo, value);
        }

        public MoCardExample.Criteria andBankNoLessThan(String value) {
            return lessThan(bankNo, value);
        }

        public MoCardExample.Criteria andBankNoLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankNo, value);
        }

        public MoCardExample.Criteria andBankNoLike(String value) {
            return like(bankNo, value);
        }

        public MoCardExample.Criteria andBankNoNotLike(String value) {
            return notLike(bankNo, value);
        }

        public MoCardExample.Criteria andBankNoIn(List<String> values) {
            return in(bankNo, values);
        }

        public MoCardExample.Criteria andBankNoNotIn(List<String> values) {
            return notIn(bankNo, values);
        }

        public MoCardExample.Criteria andBankNoBetween(String value1, String value2) {
            return between(bankNo, value1, value2);
        }

        public MoCardExample.Criteria andBankNoNotBetween(String value1, String value2) {
            return notBetween(bankNo, value1, value2);
        }
        public MoCardExample.Criteria andExpireDateIsNull() {
            return isNull(expireDate);
        }

        public MoCardExample.Criteria andExpireDateIsNotNull() {
            return isNotNull(expireDate);
        }

        public MoCardExample.Criteria andExpireDateEqualTo(String value) {
            return equalTo(expireDate, value);
        }

        public MoCardExample.Criteria andExpireDateNotEqualTo(String value) {
            return notEqualTo(expireDate, value);
        }

        public MoCardExample.Criteria andExpireDateGreaterThan(String value) {
            return greaterThan(expireDate, value);
        }

        public MoCardExample.Criteria andExpireDateGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(expireDate, value);
        }

        public MoCardExample.Criteria andExpireDateLessThan(String value) {
            return lessThan(expireDate, value);
        }

        public MoCardExample.Criteria andExpireDateLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(expireDate, value);
        }

        public MoCardExample.Criteria andExpireDateLike(String value) {
            return like(expireDate, value);
        }

        public MoCardExample.Criteria andExpireDateNotLike(String value) {
            return notLike(expireDate, value);
        }

        public MoCardExample.Criteria andExpireDateIn(List<String> values) {
            return in(expireDate, values);
        }

        public MoCardExample.Criteria andExpireDateNotIn(List<String> values) {
            return notIn(expireDate, values);
        }

        public MoCardExample.Criteria andExpireDateBetween(String value1, String value2) {
            return between(expireDate, value1, value2);
        }

        public MoCardExample.Criteria andExpireDateNotBetween(String value1, String value2) {
            return notBetween(expireDate, value1, value2);
        }
        public MoCardExample.Criteria andBankNameIsNull() {
            return isNull(bankName);
        }

        public MoCardExample.Criteria andBankNameIsNotNull() {
            return isNotNull(bankName);
        }

        public MoCardExample.Criteria andBankNameEqualTo(String value) {
            return equalTo(bankName, value);
        }

        public MoCardExample.Criteria andBankNameNotEqualTo(String value) {
            return notEqualTo(bankName, value);
        }

        public MoCardExample.Criteria andBankNameGreaterThan(String value) {
            return greaterThan(bankName, value);
        }

        public MoCardExample.Criteria andBankNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankName, value);
        }

        public MoCardExample.Criteria andBankNameLessThan(String value) {
            return lessThan(bankName, value);
        }

        public MoCardExample.Criteria andBankNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankName, value);
        }

        public MoCardExample.Criteria andBankNameLike(String value) {
            return like(bankName, value);
        }

        public MoCardExample.Criteria andBankNameNotLike(String value) {
            return notLike(bankName, value);
        }

        public MoCardExample.Criteria andBankNameIn(List<String> values) {
            return in(bankName, values);
        }

        public MoCardExample.Criteria andBankNameNotIn(List<String> values) {
            return notIn(bankName, values);
        }

        public MoCardExample.Criteria andBankNameBetween(String value1, String value2) {
            return between(bankName, value1, value2);
        }

        public MoCardExample.Criteria andBankNameNotBetween(String value1, String value2) {
            return notBetween(bankName, value1, value2);
        }
        public MoCardExample.Criteria andTelephoneIsNull() {
            return isNull(telephone);
        }

        public MoCardExample.Criteria andTelephoneIsNotNull() {
            return isNotNull(telephone);
        }

        public MoCardExample.Criteria andTelephoneEqualTo(String value) {
            return equalTo(telephone, value);
        }

        public MoCardExample.Criteria andTelephoneNotEqualTo(String value) {
            return notEqualTo(telephone, value);
        }

        public MoCardExample.Criteria andTelephoneGreaterThan(String value) {
            return greaterThan(telephone, value);
        }

        public MoCardExample.Criteria andTelephoneGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(telephone, value);
        }

        public MoCardExample.Criteria andTelephoneLessThan(String value) {
            return lessThan(telephone, value);
        }

        public MoCardExample.Criteria andTelephoneLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(telephone, value);
        }

        public MoCardExample.Criteria andTelephoneLike(String value) {
            return like(telephone, value);
        }

        public MoCardExample.Criteria andTelephoneNotLike(String value) {
            return notLike(telephone, value);
        }

        public MoCardExample.Criteria andTelephoneIn(List<String> values) {
            return in(telephone, values);
        }

        public MoCardExample.Criteria andTelephoneNotIn(List<String> values) {
            return notIn(telephone, values);
        }

        public MoCardExample.Criteria andTelephoneBetween(String value1, String value2) {
            return between(telephone, value1, value2);
        }

        public MoCardExample.Criteria andTelephoneNotBetween(String value1, String value2) {
            return notBetween(telephone, value1, value2);
        }
        public MoCardExample.Criteria andUserIdIsNull() {
            return isNull(userId);
        }

        public MoCardExample.Criteria andUserIdIsNotNull() {
            return isNotNull(userId);
        }

        public MoCardExample.Criteria andUserIdEqualTo(Long value) {
            return equalTo(userId, value);
        }

        public MoCardExample.Criteria andUserIdNotEqualTo(Long value) {
            return notEqualTo(userId, value);
        }

        public MoCardExample.Criteria andUserIdGreaterThan(Long value) {
            return greaterThan(userId, value);
        }

        public MoCardExample.Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(userId, value);
        }

        public MoCardExample.Criteria andUserIdLessThan(Long value) {
            return lessThan(userId, value);
        }

        public MoCardExample.Criteria andUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(userId, value);
        }

        public MoCardExample.Criteria andUserIdIn(List<Long> values) {
            return in(userId, values);
        }

        public MoCardExample.Criteria andUserIdNotIn(List<Long> values) {
            return notIn(userId, values);
        }

        public MoCardExample.Criteria andUserIdBetween(Long value1, Long value2) {
            return between(userId, value1, value2);
        }

        public MoCardExample.Criteria andUserIdNotBetween(Long value1, Long value2) {
            return notBetween(userId, value1, value2);
        }
        public MoCardExample.Criteria andBankLocationIsNull() {
            return isNull(bankLocation);
        }

        public MoCardExample.Criteria andBankLocationIsNotNull() {
            return isNotNull(bankLocation);
        }

        public MoCardExample.Criteria andBankLocationEqualTo(String value) {
            return equalTo(bankLocation, value);
        }

        public MoCardExample.Criteria andBankLocationNotEqualTo(String value) {
            return notEqualTo(bankLocation, value);
        }

        public MoCardExample.Criteria andBankLocationGreaterThan(String value) {
            return greaterThan(bankLocation, value);
        }

        public MoCardExample.Criteria andBankLocationGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankLocation, value);
        }

        public MoCardExample.Criteria andBankLocationLessThan(String value) {
            return lessThan(bankLocation, value);
        }

        public MoCardExample.Criteria andBankLocationLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankLocation, value);
        }

        public MoCardExample.Criteria andBankLocationLike(String value) {
            return like(bankLocation, value);
        }

        public MoCardExample.Criteria andBankLocationNotLike(String value) {
            return notLike(bankLocation, value);
        }

        public MoCardExample.Criteria andBankLocationIn(List<String> values) {
            return in(bankLocation, values);
        }

        public MoCardExample.Criteria andBankLocationNotIn(List<String> values) {
            return notIn(bankLocation, values);
        }

        public MoCardExample.Criteria andBankLocationBetween(String value1, String value2) {
            return between(bankLocation, value1, value2);
        }

        public MoCardExample.Criteria andBankLocationNotBetween(String value1, String value2) {
            return notBetween(bankLocation, value1, value2);
        }
        public MoCardExample.Criteria andBankIconIsNull() {
            return isNull(bankIcon);
        }

        public MoCardExample.Criteria andBankIconIsNotNull() {
            return isNotNull(bankIcon);
        }

        public MoCardExample.Criteria andBankIconEqualTo(String value) {
            return equalTo(bankIcon, value);
        }

        public MoCardExample.Criteria andBankIconNotEqualTo(String value) {
            return notEqualTo(bankIcon, value);
        }

        public MoCardExample.Criteria andBankIconGreaterThan(String value) {
            return greaterThan(bankIcon, value);
        }

        public MoCardExample.Criteria andBankIconGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(bankIcon, value);
        }

        public MoCardExample.Criteria andBankIconLessThan(String value) {
            return lessThan(bankIcon, value);
        }

        public MoCardExample.Criteria andBankIconLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(bankIcon, value);
        }

        public MoCardExample.Criteria andBankIconLike(String value) {
            return like(bankIcon, value);
        }

        public MoCardExample.Criteria andBankIconNotLike(String value) {
            return notLike(bankIcon, value);
        }

        public MoCardExample.Criteria andBankIconIn(List<String> values) {
            return in(bankIcon, values);
        }

        public MoCardExample.Criteria andBankIconNotIn(List<String> values) {
            return notIn(bankIcon, values);
        }

        public MoCardExample.Criteria andBankIconBetween(String value1, String value2) {
            return between(bankIcon, value1, value2);
        }

        public MoCardExample.Criteria andBankIconNotBetween(String value1, String value2) {
            return notBetween(bankIcon, value1, value2);
        }
    }
}